package com.techstar.api.pojo.gis;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 流量点
 * @date 2021年6月28日
 *
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "flow_site_info")
@org.hibernate.annotations.Table(appliesTo = "flow_site_info",comment="gis-1-流量点")
public class FlowSiteInfo {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	@JsonDeserialize(using = DateTimeDeserializer.class)
    private DateTime updateTime;
}
